#include"String.h"

void Test_string1()
{
	string s1;
	string s2("hello");
	cout << s1 << endl;
	cout << s2 << endl;

	string s3(s2);
	cout << s3 << endl;
}
void Test_string2()
{
	std::string s1("snow");
	s1 += '\0';
	s1 += "dragon";
	cout << s1.c_str() << endl;
	cout << s1 << endl;

}

int main()
{
	try
	{
		snow::Test_string7();
		//Test_string2();
	}
	catch (const std::exception& e)
	{
		cout << e.what() << endl;
	}
	
	return 0;
}